import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Header from "@/components/Header.vue";
import Denglu from "@/components/Denglu.vue";
import Zhuce from "@/components/Zhuce.vue";
import Game from "@/components/Game.vue";
import Luntan from "@/components/Luntan.vue";
import Reply from "@/components/Reply.vue";
import Paihang from "@/components/Paihang.vue";
import Uset from "@/components/Uset.vue";
import Sousuo from "@/components/Sousuo.vue";
import TouXiang from "@/components/TouXiang.vue"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: HelloWorld
    },
    {
      path: '/header',
      name: 'header',
      component: Header
    },
    {
      path: '/denglu',
      name: 'topmain',
      component: Denglu
    },
    {
      path: '/zhuce',
      component: Zhuce
    },
    {
      path: '/game/:name',
      component: Game
    },
    {
      path: '/luntan/:name',
      component: Luntan
    },
    {
      path: '/reply/:name',
      component: Reply
    },
    {
      path: '/paihang',
      component: Paihang
    },
    {
      path: '/uset/:name',
      component: Uset
    },
    {
      path: '/sousuo',
      component: Sousuo
    },
    {
      path: '/touxiang/:name',
      component: TouXiang
    }
  ]
})
